<template>
  <div class="empty-wrap">
    <div class="empty-normal">
      <div class="empty-image-wrap">
        <img
          src=""
          alt
        />
      </div>
      <p>{{msg || '暂无数据'}}</p>
    </div>
  </div>
</template>

<script>
export default {
  name: 'EmptyComp',
  props: ['msg']
}
</script>

<style scoped>
.empty-wrap {
  padding: 16px;
  color: rgba(0, 0, 0, 0.45);
  font-size: 14px;
  text-align: center;
}
.empty-normal {
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  margin: 32px 0;
}
.empty-image-wrap {
  height: 40px;
  margin-bottom: 8px;
}
.empty-image-wrap img {
  height: 100%;
}
.empty-normal p {
  margin: 0;
}
</style>